<div class="box">
  <div class="box-heading"><?php echo $_['heading_title']; ?></div>
  <div class="box-content">
   <div class="box-category">
    <ul>
      <?php if (!$logged) { ?>
      <li><a href="<?php echo US('affiliate/login'); ?>"><?php echo $_['text_login']; ?></a> / <a href="<?php echo US('affiliate/register'); ?>"><?php echo $_['text_register']; ?></a></li>
      <li><a href="<?php echo US('affiliate/forgotten'); ?>"><?php echo $_['text_forgotten']; ?></a></li>
      <?php } ?>
      <li><a href="<?php echo US('affiliate/account'); ?>"><?php echo $_['text_account']; ?></a></li>
      <?php if ($logged) { ?>
      <li><a href="<?php echo US('affiliate/edit'); ?>"><?php echo $_['text_edit']; ?></a></li>
      <li><a href="<?php echo US('affiliate/password'); ?>"><?php echo $_['text_password']; ?></a></li>
      <?php } ?>
      <li><a href="<?php echo US('affiliate/payment'); ?>"><?php echo $_['text_payment']; ?></a></li>
      <li><a href="<?php echo US('affiliate/tracking'); ?>"><?php echo $_['text_tracking']; ?></a></li>
      <li><a href="<?php echo US('affiliate/transaction'); ?>"><?php echo $_['text_transaction']; ?></a></li>
      <?php if ($logged) { ?>
      <li><a href="<?php echo US('affiliate/logout'); ?>"><?php echo $_['text_logout']; ?></a></li>
      <?php } ?>
    </ul>
  </div>
</div>
</div>